<template>
	<view class="data-empty">
		<view class="empty__image">
			<image src="/static/empty.png"></image>
		</view>
		<text class="empty__description">{{description}}</text>
	</view>
</template>

<script>
	export default {
		name: "data-empty",
		props: {
			description: String
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.data-empty {
		box-sizing: border-box;
		padding: 64px 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.empty__image {
			width: 320rpx;
			height: 320rpx;
			image{
				width: 100%;
				height: 100%;
			}
		}

		.empty__description {
			margin-top: 32rpx;
			padding: 0 120rpx;
			color: #969799;
			font-size: 28rpx;
			line-height: 40rpx;
		}
	}
</style>
